* {
    margin: 0;
    padding: 0;
}
ul {
    list-style: none;
}
a {
    text-decoration: none;
}
body {
    height: 2000px;
    background: url(../images/bj.jpg) no-repeat;
}
.bx {
    width: 1260px;
    margin: 0 auto;
}
/* 头部 */
.top {
    display: flex;
    width: 100%;
    height: 100px;
    background-color: rgba(0, 0, 0, .3);
}
.logo {
    margin: 23px 40px 23px 124px;
    width: 200px;
    height: 54px;
    background: url(../images/logo.png) no-repeat;
}
.search {
    position: relative;
    flex: 1;
    margin: 23px 0;
    height: 50px;
    /* background-color: sandybrown; */
}
.search input {
    margin-top: 5px;
    padding-left: 60px;
    width: 100%;
    height: 40px;
    border: 0;
    border-radius: 20px;
    outline: none;
    font-size: 18px;
    color: #ccc;
}
.search::before {
    position: absolute;
    top: 0;
    left: 0;
    margin: 13px 20px;
    content: '';
    width: 27px;
    height: 26px;
    background: url(../images/nav_search.png) no-repeat;
}
.login {
    margin: 23px 124px 23px 80px;
    width: 150px;
    height: 50px;
}
.login a {
    display: block;
    width: 100%;
    height: 100%;

}
.login a .login-icon {
    display: block;
    float: left;
    width: 42px;
    height: 42px;
    background: url(../images/登录.png) no-repeat;
}
.login a .login-text {
    float: left;
    padding: 10px 10px;
    font-size: 18px;
    color: #fff;
}
/* banner */
.banner-pic {
    margin: 0 auto;
    margin-top: 470px;
    width: 1260px;
    height: 400px;
}
/* swiper */
.swiper {
    width: 100%;
    height: 100%;
  }

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;

    /* Center slide text vertically */
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* 导航栏部分 */
.nav {
    margin-top: 10px;
}
.nav ul .nav-content {
    float: left;
    width: 200px;
    height: 65px;
    text-align: center;
    line-height: 65px;
    background:linear-gradient(rgb(248, 164, 53),rgb(111, 236, 95));
}
/* 去浮动 */
.nav ul::after {
    content: '';
    height: 0;
    display: block;
    clear: both;
    visibility: hidden;
}
.nav ul .nav-content:nth-child(-n+5){
    margin-right: 11px;
    border-right: 1px solid #ccc;
}
.nav ul .nav-content:hover {
    transform: scale(1.1,1.1);
    border-bottom: 4px solid rgb(238, 140, 28);
}
.nav ul .nav-content a {
    font-size: 18px;
    color: #fff;
}
/* dropdwon */
.dropdown {
    width: 1290px;
}
.dropdown .drop-hd{
    position: relative;
    margin-top: 10px;
    width: 1260px;
    height: 32px;
    line-height: 32px;    
    background:linear-gradient(to right,rgb(248, 164, 53),rgb(111, 236, 95));
}
.dropdown .drop-hd h3 {
    padding-left: 30px;
    float: left;
    font-weight: 400;
    color: #333;
}
.dropdown .drop-hd h3::before {
    margin: 2px 5px;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 28px;
    height: 28px;
    background: url(../images/index.png) no-repeat 0 -143px;
}
.dropdown .drop-hd a {
    padding-right: 15px;
    float: right;
    font-size: 12px;
    color: rgb(212, 118, 29);
}
.dropdown ul {
    padding-bottom: 20px;
}
.dropdown ul .role {
    position: relative;
    margin: 10px 12px 0 0;
    float: left;
    width: 200px;
    height: 220px;
    overflow: hidden;
}
.dropdown ul .role::before {
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: rgba(0, 0, 0, .3);
}
.dropdown ul .role:hover img {
    transform: scale(1.1,1.1);
}
.dropdown ul .role img {
    width: 100%;
    height: 100%;
    transition: all .5s;
}
.role-name {
    position: absolute;
    bottom: 0;
    left: 50px;
    line-height: 50px;
    color: #fff;
}
/* 英雄新讯 */
.ad {
    display: flex;
    overflow: hidden;
}
.download {
    width: 236px;
    height: 350px;
}
.download a {
    display: block;
    width: 100%;
    height: 100%;
    background:url(../images/index.png) no-repeat 0 -219px;
}
/* new  */
.news {
    flex: 1;
}
.news-hd{
    padding-left: 20px;
    width: 100%;
    height: 40px;
    line-height: 40px;
    color: #333;
    background-color: #ccc;
}
.news-bd {
    margin-bottom: 5px;
    width: 100%;
}
.news .gl {
    position: relative;
    float: left;
    margin: 5px 10px 13px 10px;
    width: 236px;
    height: 140px;
    background-color: pink;
}
.news .gl img {
    width: 100%;
}
.news .gl::before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    background-color:rgba(0, 0, 0, .3);
}
.mask {
    display: none;
    position: absolute;
    top: 36%;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 42px;
    background:  url(../images/index.png) no-repeat -192px -63px ;
}
.news .gl:hover .mask {
    display: block;
}
/* footer */
footer {
    height: 345px;
    background-color: #ccc;
}
.footer-icon {
    /* margin-top: 50px; */
    height: 90px;
    border-bottom: 2px solid #333;

}
.tencent {
    float: left;
    margin-bottom: 20px;
    width: 285px;
    height: 64px;
    background:url(../images/spr.png) no-repeat;
}
.timi {
    float: left;
    width: 60px;
    height: 57px;
    background: url(../images/spr.png) no-repeat -293px -2px;
}
p {
    margin-top: 20px;
    font-size: 16px;
    color: black;
    text-align: center;
}
/* 右侧固定定位 */
.fix {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 260px;
    height: 260px;
    background: url(../images/r_code.jpg) no-repeat;
    z-index: 999;
}

